
const arr =[1,8,5,3,4,9,7,6,0]

function getSequence(arr) {
    const len = arr.length ;
    const result =[0] ;
    
}


getSequence()